Skip to content

Latest commit

 

History

History

SMTP mailing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SMTP mailing

  • smtplib - provides SMTP mail service in python.
  • EmailMessage - provides the core functionality for setting and querying header fields, for accessing message bodies, and for creating or modifying structured messages.
  • starttls - provides secure coonection.
  • Port 25 or port 587 can be used for SMTP server.

Note:

  • Due to change in Gmail's security policy, turn on double verification and get 16 digit verification code to send mail using this script.